Allow sending mail in "emacs -Q" by not calling customize-save-variable
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 8 Jul 2011 07:42:21 +0000 (09:42 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 8 Jul 2011 07:42:21 +0000 (09:42 +0200)
commitb8858b498b2e666a48d8147a4fe83ccbb63cd63f
treee718631dc7590af60330cb27373ae79fb19d3822
parent6857e1f9c477d41ab477ac564467725418550403
Allow sending mail in "emacs -Q" by not calling customize-save-variable

* mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.

* mail/sendmail.el (sendmail-query-once): If we aren't allowed to
save customizations (with "emacs -Q"), just set the variable
instead of erroring out.
lisp/ChangeLog
lisp/mail/sendmail.el
lisp/mail/smtpmail.el